<#include "/pages/common/head.html"/>

<div id="sidebar">
	<a href="#" class="visible-phone">
		<i class="icon icon-th-list"></i> Tables
	</a>
	<ul style="display: block;">
		<li><a href="${CPATH!}/userAdmin/userList">
				<i class="icon icon-tint"></i> <span>用户管理</span>
			</a></li>
		<li class="active"><a href="${CPATH!}/project">
				<i class="icon icon-home"></i> <span>项目管理</span>
			</a></li>
		<li><a href="${CPATH!}/project/createIndex">
				<i class="icon icon-pencil"></i> <span>创建项目</span>
			</a></li>
		<li><a href="${CPATH!}/modelAdmin">
				<i class="icon icon-th"></i> <span>模块管理</span>
			</a></li>
		<li><a href="${CPATH!}/createAdmin">
				<i class="icon icon-th-list"></i> <span>新建模块</span>
			</a></li>

	</ul>

</div>

<div id="style-switcher">
	<i class="icon-arrow-left icon-white"></i> <span>Style:</span>
	<a href="#grey"
		style="background-color: #555555; border-color: #aaaaaa;"></a>
	<a href="#blue" style="background-color: #2D2F57;"></a>
	<a href="#red" style="background-color: #673232;"></a>
</div>

<div id="content">
	<div id="content-header">
		<h1>项目管理</h1>
		<div style="width: auto;" class="btn-group">
			<a data-original-title="Manage Files"
				class="btn btn-large tip-bottom">
				<i class="icon-file"></i>
			</a>
			<a data-original-title="Manage Users"
				class="btn btn-large tip-bottom">
				<i class="icon-user"></i>
			</a>
			<a data-original-title="Manage Comments"
				class="btn btn-large tip-bottom">
				<i class="icon-comment"></i><span class="label label-important">5</span>
			</a>
			<a data-original-title="Manage Orders"
				class="btn btn-large tip-bottom">
				<i class="icon-shopping-cart"></i>
			</a>
		</div>
	</div>
	<div id="breadcrumb">
		<a data-original-title="转到主页" href="#" class="tip-bottom">
			<i class="icon-home"></i> 主页
		</a>
		<a href="#" class="current">项目列表</a>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-title">
						<h5>项目列表</h5>
					</div>
					<div class="widget-content nopadding">
						<table class="table table-bordered data-table">
							<thead>
								<tr>
									<th>项目ID</th>
									<th>项目名称</th>
									<th>工程名</th>
									<th>项目描叙</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<#list list as project>
								<tr class="gradeX">
									<td style="text-align: center;">${project.ID}</td>
									<td style="text-align: center;">${project.SHOW_NAME}</td>
									<td style="text-align: center;">${project.NAME}</td>
									<td>${project.DESCRIPTION}</td>
									<td style="text-align: center;">
										<a href="${CPATH!}/project/edit/${project.ID}"  class="btn btn-primary btn-mini">编辑</a>
										<a href="${CPATH!}/project/delete/${project.ID}"  class="btn btn-danger btn-mini">删除</a>
									</td>
								</tr>
								</#list>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
	<#include "/pages/common/foot.html"/>